﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AdminRoleEdit.aspx.cs" Inherits="CNVP.JShop.Web.Admin.AdminRoleEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
            <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="IE=7" http-equiv="X-UA-Compatible" />
    <link href="CSS/Edit.css" rel="stylesheet" type="text/css" />
    <script src="../Scripts/jquery.js" type="text/javascript"></script>
    <script type="text/javascript" src="../Scripts/Common.js"></script>
    <script type ="text/javascript">
        $(function () {
            $("#btUp").click(function () {
                var $txtRoleName = $("#txtRoleName");
                if ($txtRoleName.val() == "") {
                    alert("请输入名称！");
                    $txtRoleName.focus();
                    return false;
                }
                return true;
            });

        })
   </script>
</head>
<body>
    <form id="form1" runat="server">
        <div class="Content">
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="cell">
                <tr>
                    <td class="cell_group">
                        <img src="Images/ListIconTitle.jpg" alt="" />&nbsp;您的位置：<a href="AdminRoleList.aspx">角色管理</a><asp:Label ID="lbTitle" runat="server"></asp:Label>
                    </td>
                </tr>
            </table>
                 <table border="0" cellpadding="0" cellspacing="0" class="division">
                        <tr>
                            <th>
                                 名&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;称:</th>
                            <td>
                                 <asp:TextBox ID="txtRoleName" runat="server" MaxLength="50"/>
                                </td>
                        </tr>
                          <tr>
                            <th>
                                 是否锁定:</th>
                            <td>
                                <asp:RadioButtonList ID="rblIsLock" runat="server" RepeatDirection="Horizontal" Width="100px" CssClass="RadioButtonListTable">
                                    <asp:ListItem Value="1">是</asp:ListItem>
                                    <asp:ListItem Selected="True" Value="0">否</asp:ListItem>
                                </asp:RadioButtonList>
                                </td>
                        </tr> 
                   </table>
            <div class="EditBtn">  
            <asp:Button ID="btUp" runat="server" Text="提交" OnClick="btUp_Click" />
                                <input type="button" value="取消" onclick="javascript:history.go(-1)" />
                                </div>
        </div>
    </form>
</body>
</html>
